package com.hopu.blb_erp.mapper;

import com.hopu.blb_erp.entity.LaserSecurity;
import com.hopu.blb_erp.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author A-Zhang
 * @since 2021-11-24
 */
public interface ProductMapper extends BaseMapper<Product> {
    List<Product> selectAll(String pName);
    LaserSecurity selectLaserSecurity(@Param("code") String code);

    List<Product> selectProductById(Integer id);
    //根据id查询//
    Product selectPProductById(Integer id);
}
